package com.lzxuni.service;

import com.github.pagehelper.PageInfo;
import com.lzxuni.po.QxDataCostom;
import com.lzxuni.po.SheBei;
import com.lzxuni.po.YongHuCustom;

import java.util.List;

public interface SheBeiService {

    // 设备列表
    List<SheBei> findList() throws Exception;
    //添加设备
    void addSheBei(SheBei demo) throws Exception;
    //修改最近更改时间
    void updateSheBeiLastTime(String userkey) throws Exception;
    //根据userkey修改username
    void updateSheBeiuserName(SheBei demo) throws Exception;
    //根据表明查询设备
    List<SheBei> findSheBei(String tableName) throws Exception;

    //按userkey分组查询
    PageInfo<?> findShebeiList(int pageNumber, int pageSize, SheBei demo) throws Exception;

    SheBei findSheBeiById(String userkey)throws Exception;

    PageInfo<?> findqxsjBytableName(int pageNumber, int pageSize, String tableName) throws Exception ;

    //接口查询数据
    List<QxDataCostom> findqxsjlist(QxDataCostom demo) throws Exception;
    //接口查询数据 最新一条
    List<QxDataCostom> findqxsjone(QxDataCostom demo) throws Exception;

}
